package cn.iocoder.yudao.module.system.controller.admin.mini.orderInfo.order.controller.admin.order.vo;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 小程序-订单 Excel 导出 Request VO，参数和 OrderPageReqVO 是一致的")
@Data
public class OrderExportReqVO {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "订单号")
    private String orderCode;

    @Schema(description = "订单状态", example = "1")
    private Integer orderStatus;

    @Schema(description = "收货人地址信息")
    private String address;

    @Schema(description = "物流信息")
    private String logistic;

    @Schema(description = "商品信息")
    private String goods;

    @Schema(description = "支付状态1已支付2未支付", example = "2")
    private Integer payStatus;

    @Schema(description = "支付时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] payTime;

    @Schema(description = "最新发货时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] logisticTime;

    @Schema(description = "收货确认时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] confirmTime;

    @Schema(description = "下单时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] addTime;

    @Schema(description = "订单总价")
    private BigDecimal totalAmount;

    @Schema(description = "抵扣金额")
    private BigDecimal deduction;

}
